How To Create and Run a Batch File (.bat) in Windows
Thisbatchscriptcreatesanoutputfilewithasinglesamplelineandthendoublesitssizerepeatedlybyconcatenatingthefileintoatemporaryfileandback.,SimpleanswerinPython:IfyouneedtocreatealargerealtextfileIjustusedasimplewhileloopandwasabletocreatea5GBfileinab...。參考影片的文章的如下:

